package com.googlecode.grima.base;

import java.io.Serializable;
import java.util.List;

import com.googlecode.grima.domain.Identifiable;

public class SearchResult<T extends Identifiable<PK>, PK extends Serializable> {

	private int total;
	private List<T> rows;

	public int getTotal() {
		return total;
	}

	public void setTotal(int total) {
		this.total = total;
	}

	public List<T> getRows() {
		return rows;
	}

	public void setRows(List<T> rows) {
		this.rows = rows;
	}

}